package cn.south.campus.business.service;

import cn.south.campus.business.model.entity.User;
import cn.south.campus.business.model.req.LoginReq;
import cn.south.campus.business.model.vo.MyPageVo;
import cn.south.campus.business.model.vo.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author chow
 * @since 2024-11-13
 */
public interface UserService extends IService<User> {

    UserVo selectByPhoneAndPwd(String phone, String password);

    UserVo detail(Long id);

    void insert(LoginReq req);

    void modify(UserVo userVo);

    MyPageVo info();

}
